.workflow-step-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}

.step-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  
  h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .repair-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    
    .device-info {
      font-size: 0.9rem;
      opacity: 0.9;
    }
    
    .priority-badge {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      
      &.priority-1 {
        background: rgba(76, 175, 80, 0.2);
        color: #4CAF50;
      }
      
      &.priority-2 {
        background: rgba(255, 193, 7, 0.2);
        color: #FFC107;
      }
      
      &.priority-3 {
        background: rgba(255, 152, 0, 0.2);
        color: #FF9800;
      }
      
      &.priority-4 {
        background: rgba(244, 67, 54, 0.2);
        color: #F44336;
      }
    }
  }
}

.step-content {
  padding: 20px;
}

.repair-description {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  
  h4 {
    color: #495057;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
  }
  
  p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
  }
}

.step-form {
  .form-section {
    margin-bottom: 30px;
    
    h4 {
      color: #495057;
      margin: 0 0 20px 0;
      font-size: 1.2rem;
      font-weight: 600;
      border-bottom: 2px solid #e9ecef;
      padding-bottom: 10px;
    }
  }
  
  .form-group {
    margin-bottom: 20px;
    
    .form-label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #495057;
      font-size: 0.9rem;
    }
    
    .form-control {
      width: 100%;
      padding: 12px;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      
      &:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
      }
      
      &.invalid {
        border-color: #dc3545;
        
        &:focus {
          border-color: #dc3545;
          box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
        }
      }
    }
    
    .radio-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
      
      .radio-option {
        display: flex;
        align-items: center;
        cursor: pointer;
        padding: 12px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        transition: all 0.3s ease;
        
        &:hover {
          border-color: #667eea;
          background: rgba(102, 126, 234, 0.05);
        }
        
        input[type="radio"] {
          margin-right: 10px;
          width: 18px;
          height: 18px;
        }
        
        .radio-label {
          font-weight: 500;
          color: #495057;
          
          &.success {
            color: #28a745;
          }
          
          &.danger {
            color: #dc3545;
          }
        }
      }
    }
    
    .error-message {
      color: #dc3545;
      font-size: 0.8rem;
      margin-top: 5px;
      font-weight: 500;
    }
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    
    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }
  }
}

.vendor-details {
  margin-top: 20px;
  
  .vendor-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    
    h5 {
      color: #495057;
      margin: 0 0 10px 0;
      font-weight: 600;
    }
    
    p {
      margin: 5px 0;
      color: #6c757d;
      font-size: 0.9rem;
    }
  }
}

.repair-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  
  h5 {
    color: #495057;
    margin: 0 0 15px 0;
    font-weight: 600;
  }
  
  .summary-item {
    margin-bottom: 10px;
    
    strong {
      color: #495057;
    }
    
    p {
      margin: 5px 0;
      color: #6c757d;
      line-height: 1.5;
    }
  }
  
  .summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    
    @media (max-width: 768px) {
      grid-template-columns: 1fr;
    }
  }
}

.error-alert {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  
  i {
    font-size: 1.1rem;
  }
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  
  .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    
    &.btn-primary {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      
      &:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
      }
      
      &:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
      }
    }
  }
}

@media (max-width: 768px) {
  .step-header {
    padding: 15px;
    
    h3 {
      font-size: 1.3rem;
    }
    
    .repair-info {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  .step-content {
    padding: 15px;
  }
} 